<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class Baidu\Duer\Botsdk\Log</title>

	<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li class="active">
					<a href="namespace-Baidu.html">
						Baidu<span></span>
					</a>

						<ul>
				<li class="active">
					<a href="namespace-Baidu.Duer.html">
						Duer<span></span>
					</a>

						<ul>
				<li class="active">
					<a href="namespace-Baidu.Duer.Botsdk.html">
						Botsdk<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Card.html">
						Card					</a>

						</li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.html">
						Directive<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.AppLauncher.html">
						AppLauncher					</a>

						</li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.AudioPlayer.html">
						AudioPlayer					</a>

						</li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Directive.WebBrowser.html">
						WebBrowser					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-Baidu.Duer.Botsdk.Plugins.html">
						Plugins					</a>

						</li>
							</ul></li></ul></li></ul></li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Baidu.Duer.Botsdk.Bot.html">Bot</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Certificate.html">Certificate</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Intercept.html">Intercept</a></li>
				<li class="active"><a href="class-Baidu.Duer.Botsdk.Log.html">Log</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Nlu.html">Nlu</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Request.html">Request</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Response.html">Response</a></li>
				<li><a href="class-Baidu.Duer.Botsdk.Session.html">Session</a></li>
			</ul>


			<h3>Traits</h3>
			<ul>
				<li><a href="class-Baidu.Duer.Botsdk.DataObject.html">DataObject</a></li>
			</ul>



		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-Baidu.Duer.Botsdk.html" title="Summary of Baidu\Duer\Botsdk"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Log</h1>











	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-Baidu.html">Baidu</a>\<a href="namespace-Baidu.Duer.html">Duer</a>\<a href="namespace-Baidu.Duer.Botsdk.html">Botsdk</a><br>
		

			<b>Located at</b> <a href="source-class-Baidu.Duer.Botsdk.Log.html#20-257" title="Go to source code">Log.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#35-55" title="Go to source code">__construct</a>( <span>array <var>$options</var> = []</span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$options</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="markStart" id="_markStart">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_markStart">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#57-67" title="Go to source code">markStart</a>( <span>string <var>$key</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>


				<h4>Desc</h4>
				<div class="list">
						时间记录，计时开始<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="markEnd" id="_markEnd">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_markEnd">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#69-82" title="Go to source code">markEnd</a>( <span>string <var>$key</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>


				<h4>Desc</h4>
				<div class="list">
						时间记录，计时结束<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="getField" id="_getField">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getField">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#84-91" title="Go to source code">getField</a>( <span>string <var>$key</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					string
				</div>


				<h4>Desc</h4>
				<div class="list">
						获取log记录的某个字段<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="setField" id="_setField">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setField">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#93-104" title="Go to source code">setField</a>( <span>string <var>$key</var></span>, <span> <var>$value</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd></dd>
					<dt><var>$value</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>


				<h4>Desc</h4>
				<div class="list">
						设置log记录一个字段<br>
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="setLevel" id="_setLevel">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setLevel">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#106-114" title="Go to source code">setLevel</a>( <span>num <var>$level</var> = self::FATAL</span> )</code>

		<div class="description short">
			<p>设置log级别</p>
		</div>

		<div class="description detailed hidden">
			<p>设置log级别</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$level</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="fatal" id="_fatal">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_fatal">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#145-156" title="Go to source code">fatal</a>( <span>string <var>$str</var></span> )</code>

		<div class="description short">
			<p>输出fatal日志</p>
		</div>

		<div class="description detailed hidden">
			<p>输出fatal日志</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$str</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="notice" id="_notice">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_notice">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#158-172" title="Go to source code">notice</a>( <span>string <var>$str</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			<p>输入notice日志</p>
		</div>

		<div class="description detailed hidden">
			<p>输入notice日志</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$str</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="warn" id="_warn">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_warn">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#174-184" title="Go to source code">warn</a>( <span>string <var>$str</var></span>, <span> <var>$logType</var> = <span class="php-quote">&quot;&quot;</span></span> )</code>

		<div class="description short">
			<p>输出warn日志</p>
		</div>

		<div class="description detailed hidden">
			<p>输出warn日志</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$str</var></dt>
					<dd></dd>
					<dt><var>$logType</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="debug" id="_debug">

		<td class="attributes"><code>
			 public 

			null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_debug">#</a>
		<code><a href="source-class-Baidu.Duer.Botsdk.Log.html#186-195" title="Go to source code">debug</a>( <span>string <var>$str</var></span> )</code>

		<div class="description short">
			<p>输出debug 日志</p>
		</div>

		<div class="description detailed hidden">
			<p>输出debug 日志</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$str</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					null
				</div>




		</div>
		</div></td>
	</tr>
	</table>








	<table class="summary constants" id="constants">
	<caption>Constants summary</caption>
	<tr data-order="FATAL" id="FATAL">

		<td class="attributes"><code>integer</code></td>
		<td class="name">
			<code>
				<a href="source-class-Baidu.Duer.Botsdk.Log.html#29" title="Go to source code"><b>FATAL</b></a>
			</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#FATAL" class="anchor">#</a>
				<code><span class="php-num">1</span></code>
			</div>
		</td>
	</tr>
	<tr data-order="WARN" id="WARN">

		<td class="attributes"><code>integer</code></td>
		<td class="name">
			<code>
				<a href="source-class-Baidu.Duer.Botsdk.Log.html#30" title="Go to source code"><b>WARN</b></a>
			</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#WARN" class="anchor">#</a>
				<code><span class="php-num">2</span></code>
			</div>
		</td>
	</tr>
	<tr data-order="NOTICE" id="NOTICE">

		<td class="attributes"><code>integer</code></td>
		<td class="name">
			<code>
				<a href="source-class-Baidu.Duer.Botsdk.Log.html#31" title="Go to source code"><b>NOTICE</b></a>
			</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#NOTICE" class="anchor">#</a>
				<code><span class="php-num">3</span></code>
			</div>
		</td>
	</tr>
	<tr data-order="DEBUG" id="DEBUG">

		<td class="attributes"><code>integer</code></td>
		<td class="name">
			<code>
				<a href="source-class-Baidu.Duer.Botsdk.Log.html#32" title="Go to source code"><b>DEBUG</b></a>
			</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#DEBUG" class="anchor">#</a>
				<code><span class="php-num">4</span></code>
			</div>
		</td>
	</tr>
	<tr data-order="PRINT_OUT" id="PRINT_OUT">

		<td class="attributes"><code>integer</code></td>
		<td class="name">
			<code>
				<a href="source-class-Baidu.Duer.Botsdk.Log.html#33" title="Go to source code"><b>PRINT_OUT</b></a>
			</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#PRINT_OUT" class="anchor">#</a>
				<code><span class="php-num">5</span></code>
			</div>
		</td>
	</tr>
	</table>










</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
